/* eslint-disable */
// @ts-ignore
import request from '@/utils/http';

import * as API from './types';

/** 删除对象评论记录表 PUT /scenic/objHistory/del */
export async function scenicObjHistoryDelUsingPut({
  body,
  options,
}: {
  body: API.ObjCommentHistoryBo77b95a7470694bfc8db4F8c599b4a5c8;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>('/scenic/objHistory/del', {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 分页查询评论列表 POST /scenic/objHistory/page */
export async function scenicObjHistoryPageUsingPost({
  body,
  options,
}: {
  body: API.ObjCommentHistoryBo346aa993807449a18124A493d3203d3b;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingPageDataVoObjCommentHistoryVo>(
    '/scenic/objHistory/page',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 获取对象评论列表 POST /scenic/objHistory/query */
export async function scenicObjHistoryQueryUsingPost({
  body,
  options,
}: {
  body: API.ObjCommentHistoryBofd64b800Cf3a4a2c939d36f3c412388b;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingListObjCommentHistoryVo>(
    '/scenic/objHistory/query',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 新增保存对象评论记录表 POST /scenic/objHistory/save */
export async function scenicObjHistorySaveUsingPost({
  body,
  options,
}: {
  body: API.ObjCommentHistoryBo836e82858b224c29A1cbD8e6026ce939;
  options?: { [key: string]: unknown };
}) {
  return request<API.xiangyingboolean>('/scenic/objHistory/save', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
